/**
 * @作者 zw
 * @微信公号 搬砖暗夜码农
 * @开源项目 $ https://gitee.com/zhouwei5208888/spring-boot-distributed
 * @我的博客 $ http://itzhouwei.com
 * @创建时间 2023/3/27 9:08 下午
 */
package com.itzhouwei.commerce.iplist.core.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author：zw，微信公共号：yingshengzw
 * @date: 2021/8/28
 * @Copyright：公众号：搬砖暗夜码农 | 博客：https://itzhouwei.com - 沉淀、学习、分享、成长，让自己和他人都能有所收获！
 */
@Component
@ConditionalOnClass(IpListProperties.class)
@EnableConfigurationProperties(IpListProperties.class)
@SuppressWarnings("all")
public class IpListAutoConfigure {

    @Bean("ipListProperties")
    public IpListProperties ipListConfig(IpListProperties properties){
        return properties;
    }
}
